<!DOCTYPE html>
<html>
<head>



    <template file="Home/meta" />
    <template file="Home/css" />







</head>
<body>


<div class="am-g  well common-border-top common-border-bottom">

    <a href="{:U('Product/index')}" class="am-padding-sm am-block">
        <span> 全部分类</span>

        <i class="am-fr"> > </i>
    </a>


</div>


<form action="{:U('Product/index')}" method="get">

<div class="am-g am-form  well common-border-top common-border-bottom am-margin-top-sm">

    <!--<div href="" class="am-padding-sm am-block">-->
        <!--<span> 场所配画</span>-->

        <!--<a class="am-fr"> 查看全部 </a>-->
    <!--</div>-->


    <!--<ul class="cart-list am-avg-sm-2">-->

        <!--<volist name=":F(Var_changsuo)" id="v">-->


            <!--<li>-->
                <!--<a href="{:U('Product/index',array('changsuo'=>$v[id]))}">{$v.name}</a>-->
            <!--</li>-->

        <!--</volist>-->



    <!--</ul>-->


    <div href="" class="am-padding-sm am-block">
        <span>作品名</span>

        <!--<a class="am-fr"> 查看全部 </a>-->
    </div>

    <div class="am-padding-sm">

        <input type="text" name="keyword">

    </div>



    <div href="" class="am-padding-sm am-block">
        <span> 题材</span>

        <!--<a class="am-fr"> 查看全部 </a>-->
    </div>


    <ul class="cart-list am-avg-sm-2" id="">

        <volist name=":F(Var_fengge)" id="v">


            <li>

                
                <a  data-value="{$v.id}"  data-field="fengge"  >{$v.name}</a>
            </li>

        </volist>



    </ul>





    <!--<div href="" class="am-padding-sm am-block">-->
        <!--<span> 组合形式</span>-->

        <!--<a class="am-fr"> 查看全部 </a>-->
    <!--</div>-->


    <!--<ul class="cart-list am-avg-sm-2">-->

        <!--<volist name=":F(Var_zuhe)" id="v">-->


            <!--<li>-->
                <!--<a href="{:U('Product/index',array('zuhe'=>$v[id]))}">{$v.name}</a>-->
            <!--</li>-->

        <!--</volist>-->



    <!--</ul>-->


    <div href="" class="am-padding-sm am-block">
        <span> 尺寸</span>

        <!--<a class="am-fr"> 查看全部 </a>-->
    </div>


    <ul class="cart-list am-avg-sm-1">

        <volist name=":F(Var_chicun_cate)" id="v">


            <li>
                <a   data-value="{$v.id}"  data-field="chicun_cate"    >{$v.name}</a>
            </li>

        </volist>







    </ul>


    <div class="am-cf">


        <input type="hidden" name="fengge"  id="fengge">
        <input type="hidden" name="chicun_cate"  id="chicun_cate">

        <button type="submit" class="am-btn    am-btn-success am-btn-block ">筛选</button>
    </div>



</div>



</form>
<div data-am-widget="navbar" class="am-navbar am-cf am-navbar-index  common-border-top "
     id="">
    <template file="Home/bottom_nav" />
</div>
<template file="Home/js" />

<script>

    $(function(){

        $(".cart-list a").click(function(){


            $(this).parents("ul").find("a").removeClass("click");
            $(this).addClass("click");



            input=$("#"+$(this).data("field"));

            input.val($(this).data("value"));



        })

    })
</script>
</body>
</html>